package com.by.vo;

import com.by.entity.SysMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @author ServivE
 * @version 0.1
 * @className MenuAndPermsVo
 * @description 菜单和权限结果对象
 * @date 2024/12/9 15:09
 * @since jdk17
 */
@ApiModel("菜单和权限集合")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MenuAndPermsVo {

    @ApiModelProperty("菜单集合")
    private Set<SysMenu> menuList;

    @ApiModelProperty("权限集合")
    private Set<String> authorities;
}